summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-02-06 09:46:51 -0700
committerMike Buland <eichlan@xagasoft.com>2012-02-06 09:46:51 -0700
commit2e9225c591d8bec29b2624604984e2b3ea5bc22c (patch)
tree123ceb0644d505422a7192c4ab886b3e3917a853
parentb93bfc4380264322680a0a79f7b05e3db05257b6 (diff)
downloadstage-2e9225c591d8bec29b2624604984e2b3ea5bc22c.tar.gz
stage-2e9225c591d8bec29b2624604984e2b3ea5bc22c.tar.bz2
stage-2e9225c591d8bec29b2624604984e2b3ea5bc22c.tar.xz
stage-2e9225c591d8bec29b2624604984e2b3ea5bc22c.zip
Fixes for building against new mingw +opttest.sage.
-rw-r--r--mingw.bld2
-rw-r--r--opttest.stage18
2 files changed, 19 insertions, 1 deletions
diff --git a/mingw.bld b/mingw.bld
index 407047d..6b6cbae 100644
--- a/mingw.bld
+++ b/mingw.bld
@@ -58,7 +58,7 @@ target "stage.exe"
58 58
59 CXXFLAGS += "-O2 -frtti -fexceptions -Wall -Ilibbu++/support/windows -Isrc -Ilibgats"; 59 CXXFLAGS += "-O2 -frtti -fexceptions -Wall -Ilibbu++/support/windows -Isrc -Ilibgats";
60 60
61 LDFLAGS += "-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -lmingw32 -Llibbu++ -lbu++win -Llibbu++/support/windows -lbz2 -Wl,-subsystem,console -Llibgats -lgatswin"; 61 LDFLAGS += "-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -lmingw32 -Llibbu++ -Llibbu++/support/windows -lbz2 -Wl,-subsystem,console -Llibgats -lgatswin -lbu++win -lwsock32";
62 62
63 CXXFLAGS += "-Ilibbu++"; 63 CXXFLAGS += "-Ilibbu++";
64} 64}
diff --git a/opttest.stage b/opttest.stage
new file mode 100644
index 0000000..325a197
--- /dev/null
+++ b/opttest.stage
@@ -0,0 +1,18 @@
1option situation <<start>>
2{
3 option: "Begin the game"
4 {
5 display("the game has begun.");
6 }
7
8 option: "I'm not ready yet"
9 {
10 display("Yup, that's what I thought.");
11 }
12
13 option: "Quit the game"
14 {
15 display("Ok...fine...");
16 exit();
17 }
18}